﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZX.CRM.Library;
using ZX.BLL.Extend;
using ZX.SYS.Library;
using ZX.BLL;

namespace ZX.CRM.Bussiness
{
    public class BCrmProduct : BaseBussnies
    {
        /// <summary>
        /// 获取所有培训类产品集合
        /// </summary>
        /// <returns></returns>
        public IList<CrmProduct> GetAllTrainTypeProduct(Guid typeId)
        {
            this.entity = new CrmProduct();
            return this.GetEntitysBySqlComm<CrmProduct>("select * from CrmProduct where TypeId='" + typeId + "' order by Caption");
        }
        #region=================统计=================
            
        #endregion
    }
}
